{extend name="default/base/base_member" /}
{block name="member_main"}
{notempty name="follow_list"}
<ul class="dsm-friend-list">
    {foreach name="follow_list" item="v"}
    <li id="recordone_{$v.friend_tomid}">
        <div class="avatar">
            <a href="javascript:void(0)" target="_blank" data-param="{'id':{$v.friend_tomid}}" dstype="mcard">
                <img src="{if $v.member_avatar!=''}{:ds_get_pic(ATTACH_AVATAR,$v.member_avatar)}{else/}{:ds_get_pic(ATTACH_COMMON,config('ds_config.default_user_portrait'))}{/if}" alt="{$v.friend_tomname}"/></a>
        </div>
        <dl class="info">
            <dt> <a href="javascript:void(0)" target="_blank" title="{$v.friend_tomname}" data-param="{'id':{$v.friend_tomid}}" dstype="mcard">{$v.friend_tomname}</a></dt>
            <dd>{$v.member_areainfo}</dd>
            <dd><a href="{:url('Membermessage/sendmsg',['member_id'=>$v.friend_tomid])}" target="_blank" title="{$Think.lang.ds_message}"><i class="iconfont">&#xea98;</i>{$Think.lang.ds_message}</a> </dd>
        </dl>
        <div class="follow">
            {if $v.friend_followstate == 2}
            <p><i></i>{$Think.lang.snsfriend_follow_eachother}</p>
            {/if}
            <a href="javascript:void(0)" ds_type="cancelbtn" class="dsm-btn-mini" data-param='{"mid":"{$v.friend_tomid}"}'>{$Think.lang.snsfriend_cancel_follow}</a></div>
    </li>
    {/foreach}
</ul>
{else /}
<div class="warning-option"><i>&nbsp;</i><span>{$Think.lang.no_record}</span></div>
{/notempty}

<div class="tc">
    <div class="pagination"> {$show_page|raw}</div>
</div>
<script src="{$Think.HOME_SITE_ROOT}/js/sns_friend.js"></script>


{/block}
